package ird.demo.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the HOWARD_IRUSRTB database table.
 * 
 */
@Entity
@Table(name="HOWARD_IRUSRTB")
@NamedQuery(name="User.findAll", query="SELECT u FROM User u")
public class User implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="USR_ID")
	private String usrId;

	@Column(name="AUTH_CODE")
	private String authCode;

	@Column(name="CTR_SECT")
	private String ctrSect;

	@Temporal(TemporalType.DATE)
	@Column(name="LAST_ACCESS_DATE")
	private Date lastAccessDate;

	private String sect;

	@Column(name="SPSE_PRN")
	private String spsePrn;

	@Column(name="USR_DESC")
	private String usrDesc;

	@Column(name="USR_GRP")
	private String usrGrp;

	@Column(name="USR_PRN")
	private String usrPrn;

	public User() {
	}

	public String getUsrId() {
		return this.usrId;
	}

	public void setUsrId(String usrId) {
		this.usrId = usrId;
	}

	public String getAuthCode() {
		return this.authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public String getCtrSect() {
		return this.ctrSect;
	}

	public void setCtrSect(String ctrSect) {
		this.ctrSect = ctrSect;
	}

	public Date getLastAccessDate() {
		return this.lastAccessDate;
	}

	public void setLastAccessDate(Date lastAccessDate) {
		this.lastAccessDate = lastAccessDate;
	}

	public String getSect() {
		return this.sect;
	}

	public void setSect(String sect) {
		this.sect = sect;
	}

	public String getSpsePrn() {
		return this.spsePrn;
	}

	public void setSpsePrn(String spsePrn) {
		this.spsePrn = spsePrn;
	}

	public String getUsrDesc() {
		return this.usrDesc;
	}

	public void setUsrDesc(String usrDesc) {
		this.usrDesc = usrDesc;
	}

	public String getUsrGrp() {
		return this.usrGrp;
	}

	public void setUsrGrp(String usrGrp) {
		this.usrGrp = usrGrp;
	}

	public String getUsrPrn() {
		return this.usrPrn;
	}

	public void setUsrPrn(String usrPrn) {
		this.usrPrn = usrPrn;
	}

	@Override
	public String toString() {
		return "User [usrId=" + usrId + ", \nauthCode=" + authCode
				+ ", \nctrSect=" + ctrSect + ", \nlastAccessDate="
				+ lastAccessDate + ", \nsect=" + sect + ", \nspsePrn="
				+ spsePrn + ", \nusrDesc=" + usrDesc + ", \nusrGrp=" + usrGrp
				+ ", \nusrPrn=" + usrPrn + "]";
	}
	
}